<?php

/**
 * Albums filter form.
 *
 * @package    jobeet
 * @subpackage filter
 * @author     Your name here
 */
class AlbumsFormFilter extends BaseAlbumsFormFilter
{
  public function configure()
  {
      $this->widgetSchema['comment'] = new sfWidgetFormInputText();
      $this->widgetSchema['comment']->addOption('needs_multipart', true);
      
      $this->widgetSchema['created_at']->addOption('template', 'с %from_date% по %to_date%');
      $this->widgetSchema['created_at']->addOption('with_empty', false);
      
      $this->widgetSchema['updated_at']->addOption('template', 'с %from_date% по %to_date%');
      $this->widgetSchema['updated_at']->addOption('with_empty', false);
  }
}
